<?php

/**
 * Sondage form.
 *
 * @package    theconnexter
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class SondageForm extends BaseSondageForm
{
  public function configure()
  {
	unset($this['created_at'],$this['updated_at'],$this['vote']);
	
	//affichage en mode list
	$this->widgetSchema->setFormFormatterName('list');
	
	//configuration du labal
	$this->widgetSchema->setLabels(array(
	  'proposition'		=> 'propositin ou titre',
	  'etat'			=> utf8_encode('active'),
	  'groupeId'		=> 'Groupe'
	));
  }
}
